// @Date         2021-11-08
// @Author       Aaron Zhang
// @Description   服务落地点，
// @FileName      service.go

package demo

type ProviderServiceDemo struct {
	Params map[string]interface{}
	IContractDemo
}

func NewProviderServiceDemo(params map[string]interface{}) (interface{}, error) {
	return &ProviderServiceDemo{
		Params: params,
	}, nil
}

func (s *ProviderServiceDemo) GetFoo() string {
	return "foo"
}
